package com.lz.service.ly;

import java.util.List;

import com.lz.entity.AuditLogging;
import com.lz.entity.EquipmentSheet;
import com.lz.entity.InstallationPerson;
import com.lz.entity.UpholsteryType;
import com.lz.vo.ly.EquipmentSheetConditionVO;

public interface EquipmentSheetByStateService {

	/**查询所有审核中的装潢单**/
	List<EquipmentSheetConditionVO> getEquipmentSheetByState(Integer pageNo,Integer pageSize,EquipmentSheet sheet,String start_time,String end_time);

	/**查询所有审核中的装潢单的总条数**/
	Integer getEsByState(EquipmentSheet sheet,String start_time,String end_time);
	
	/**修改装潢单状态**/
	boolean updEquipmentSheetState(String result,Integer equipmentSheetNo);
	
	/**查询所有的装潢业务类型**/
	List<UpholsteryType> getType();
	
	/**保存审核记录**/
	void savaAuditLogging(AuditLogging logging);
	
	/**根据id查询装潢单**/
	EquipmentSheet getEquipmentSheetById(Integer id);
	
	/**接单人**/
	List<InstallationPerson> getInstallationPersonList();
	
	/**根据ID查询**/
    InstallationPerson getPersonId(Integer id);
    
    /**添加安装人员**/
	void addPerson(Integer id,Integer personNo);
}
